for loop - определение. Что такое for loop
Diclib.com
Словарь ChatGPT
Введите слово или словосочетание на любом языке 👆
Язык:

Перевод и анализ слов искусственным интеллектом ChatGPT

На этой странице Вы можете получить подробный анализ слова или словосочетания, произведенный с помощью лучшей на сегодняшний день технологии искусственного интеллекта:

  • как употребляется слово
  • частота употребления
  • используется оно чаще в устной или письменной речи
  • варианты перевода слова
  • примеры употребления (несколько фраз с переводом)
  • этимология

Что (кто) такое for loop - определение

PROGRAMMING LANGUAGE STATEMENT
Loop counter; Do loop; For next loop; For statement; Counter variable; For-loop; Loop variable; Iterative for loop; FOR (DOS command); FOR loops; For (command)
  • For loop illustration, from i=0 to i=2, resulting in data1=200
  • Flow diagram of the following for loop code:
<pre>
for(i=0;i<5;i++)
  printf("*");  
</pre>

The loop will cause five asterisks to be printed.
Найдено результатов: 32768
for loop         
<programming> A loop construct found in many {procedural languages} which repeatedly executes some instructions while a condition is true. In C, the for loop is written in the form; for (INITIALISATION; CONDITION; AFTER) STATEMENT; where INITIALISATION is an expression that is evaluated once before the loop, CONDITION is evaluated before each iteration and the loop exits if it is false, AFTER is evaluated after each iteration, and STATEMENT is any statement including a compound statement within braces ".." that is executed if CONDITION is true. For example: int i; for (i = 0; i < 10; i++) { printf("Hello "); } prints "Hello" 10 times. The for loop is an alternative way of writing a while loop that is convenient because the loop control logic is collected in a single place. It is also closely related to the {repeat loop}. (1999-07-07)
For loop         
In computer science, a for-loop (or simply for loop) is a control flow statement for specifying iteration, which allows code to be executed repeatedly. Various keywords are used to specify this statement: descendants of ALGOL use "for", while descendants of Fortran use "do".
do loop         
Loop, Indiana County, Pennsylvania         
HUMAN SETTLEMENT IN WEST MAHONING TOWNSHIP, PENNSYLVANIA, UNITED STATES OF AMERICA
Sesha loop, pa; Sesha Loop, Pennsylvania; Loop, Pennsylvania
Loop was an unincorporated community in West Mahoning Township, Indiana County, Pennsylvania. Retrieved 1 July 2017.
Loop fission and fusion         
COMPILER OPTIMIZATION
Loop fusion; Loop jamming; Loop distribution; Loop fission
In computer science, loop fission (or loop distribution) is a compiler optimization in which a loop is broken into multiple loops over the same index range with each taking only a part of the original loop's body. The goal is to break down a large loop body into smaller ones to achieve better utilization of locality of reference.
loop fusion         
COMPILER OPTIMIZATION
Loop fusion; Loop jamming; Loop distribution; Loop fission
Loop optimization         
COMPILER OPTIMIZATIONS WHICH IMPROVE THE PERFORMANCE OF LOOPS
Loop optimizations; Loop transformation
In compiler theory, loop optimization is the process of increasing execution speed and reducing the overheads associated with loops. It plays an important role in improving cache performance and making effective use of parallel processing capabilities.
Launch loop         
  • Launch loop accelerator section (return cable not shown).
PROPOSED SYSTEM FOR LAUNCHING OBJECTS INTO ORBIT
Lofstrom loop; Loftstrom Loop; Lofstrom launch loop
A launch loop, or Lofstrom loop, is a proposed system for launching objects into orbit using a moving cable-like system situated inside a sheath attached to the Earth at two ends and suspended above the atmosphere in the middle. The design concept was published by Keith Lofstrom and describes an active structure maglev cable transport system that would be around 2,000 km (1,240 mi) long and maintained at an altitude of up to 80 km (50 mi).
Loop unrolling         
LOOP TRANSFORMATION TECHNIQUE
Unroll loops; Loop Unrolling; Loop unwinding; Unrolling the loop
Loop unrolling, also known as loop unwinding, is a loop transformation technique that attempts to optimize a program's execution speed at the expense of its binary size, which is an approach known as space–time tradeoff. The transformation can be undertaken manually by the programmer or by an optimizing compiler.
D-loop         
  • A current model of meiotic recombination, initiated by a double-strand break or gap, followed by pairing with an homologous chromosome and strand invasion to initiate the recombinational repair process. Repair of the gap can lead to crossover (CO) or non-crossover (NCO) of the flanking regions. CO recombination is thought to occur by the Double [[Holliday Junction]] (DHJ) model, illustrated on the right, above. NCO recombinants are thought to occur primarily by the Synthesis Dependent Strand Annealing (SDSA) model, illustrated on the left, above. Most recombination events appear to be the SDSA type.
DNA STRUCTURE
Dloop; Displacement loop; D loop; D-Loop; Displacement-loop
In molecular biology, a displacement loop or D-loop is a DNA structure where the two strands of a double-stranded DNA molecule are separated for a stretch and held apart by a third strand of DNA. An R-loop is similar to a D-loop, but in this case the third strand is RNA rather than DNA.

Википедия

For loop

In computer science a for-loop or for loop is a control flow statement for specifying iteration. Specifically, a for loop functions by running a section of code repeatedly until a certain condition has been satisfied.

For-loops have two parts: a header and a body. The header defines the iteration and the body is the code that is executed once per iteration. The header often declares an explicit loop counter or loop variable. This allows the body to know which iteration is being executed. For-loops are typically used when the number of iterations is known before entering the loop. For-loops can be thought of as shorthands for while-loops which increment and test a loop variable.

Various keywords are used to indicate the usage of a for loop: descendants of ALGOL use "for", while descendants of Fortran use "do". There are other possibilities, for example COBOL which uses "PERFORM VARYING".

The name for-loop comes from the word for. For is used as the keyword in many programming languages to introduce a for-loop. The term in English dates to ALGOL 58 and was popularized in ALGOL 60. It is the direct translation of the earlier German für and was used in Superplan (1949–1951) by Heinz Rutishauser. Rutishauser was involved in defining ALGOL 58 and ALGOL 60. The loop body is executed "for" the given values of the loop variable. This is more explicit in ALGOL versions of the for statement where a list of possible values and increments can be specified.

In Fortran and PL/I, the keyword DO is used for the same thing and it is called a do-loop; this is different from a do-while loop.